package com.wd.tw.domain.aie;

import com.alibaba.fastjson2.JSONObject;

/**
 * @className: EventData
 * @description: TODO 类描述
 * @author: liumingkun
 * @date: 2024/11/17
 **/
public class EventData {
    private BodyAttr body_attr;
    private String camera_name;
    private int channel;
    private String device_id;
    private EventsAttr events_attr;
    private String events_off_type;
    private int events_status;
    private String events_type;
    private int obj_label;
    private int pos_bottom;
    private int pos_left;
    private int pos_right;
    private int pos_top;
    private String position;
    private int quality;
    private String snap_feat;
    private String snap_id;
    private String snap_path;
    private String trigger;

    public BodyAttr getBody_attr() {
        return body_attr;
    }

    public void setBody_attr(BodyAttr body_attr) {
        this.body_attr = body_attr;
    }

    public String getCamera_name() {
        return camera_name;
    }

    public void setCamera_name(String camera_name) {
        this.camera_name = camera_name;
    }

    public int getChannel() {
        return channel;
    }

    public void setChannel(int channel) {
        this.channel = channel;
    }

    public String getDevice_id() {
        return device_id;
    }

    public void setDevice_id(String device_id) {
        this.device_id = device_id;
    }

    public EventsAttr getEvents_attr() {
        return events_attr;
    }

    public void setEvents_attr(EventsAttr events_attr) {
        this.events_attr = events_attr;
    }

    public String getEvents_off_type() {
        return events_off_type;
    }

    public void setEvents_off_type(String events_off_type) {
        this.events_off_type = events_off_type;
    }

    public int getEvents_status() {
        return events_status;
    }

    public void setEvents_status(int events_status) {
        this.events_status = events_status;
    }

    public String getEvents_type() {
        return events_type;
    }

    public void setEvents_type(String events_type) {
        this.events_type = events_type;
    }

    public int getObj_label() {
        return obj_label;
    }

    public void setObj_label(int obj_label) {
        this.obj_label = obj_label;
    }

    public int getPos_bottom() {
        return pos_bottom;
    }

    public void setPos_bottom(int pos_bottom) {
        this.pos_bottom = pos_bottom;
    }

    public int getPos_left() {
        return pos_left;
    }

    public void setPos_left(int pos_left) {
        this.pos_left = pos_left;
    }

    public int getPos_right() {
        return pos_right;
    }

    public void setPos_right(int pos_right) {
        this.pos_right = pos_right;
    }

    public int getPos_top() {
        return pos_top;
    }

    public void setPos_top(int pos_top) {
        this.pos_top = pos_top;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public int getQuality() {
        return quality;
    }

    public void setQuality(int quality) {
        this.quality = quality;
    }

    public String getSnap_feat() {
        return snap_feat;
    }

    public void setSnap_feat(String snap_feat) {
        this.snap_feat = snap_feat;
    }

    public String getSnap_id() {
        return snap_id;
    }

    public void setSnap_id(String snap_id) {
        this.snap_id = snap_id;
    }

    public String getSnap_path() {
        return snap_path;
    }

    public void setSnap_path(String snap_path) {
        this.snap_path = snap_path;
    }

    public String getTrigger() {
        return trigger;
    }

    public void setTrigger(String trigger) {
        this.trigger = trigger;
    }

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }

    public static class BodyAttr {
        private String _cc1;
        private String _cc2;
        private String cap_style;
        private String coat_color;
        private String coat_length;
        private String gender_code;
        private String st_age;
        private String st_phone_status;
        private String st_pose;
        private String st_reflective_clothes;
        private String st_respirator_v2;
        private String st_smoking;
        private String st_uniform;

        // Getters and Setters
        public String get_cc1() {
            return _cc1;
        }

        public void set_cc1(String _cc1) {
            this._cc1 = _cc1;
        }

        public String get_cc2() {
            return _cc2;
        }

        public void set_cc2(String _cc2) {
            this._cc2 = _cc2;
        }

        public String getCap_style() {
            return cap_style;
        }

        public void setCap_style(String cap_style) {
            this.cap_style = cap_style;
        }

        public String getCoat_color() {
            return coat_color;
        }

        public void setCoat_color(String coat_color) {
            this.coat_color = coat_color;
        }

        public String getCoat_length() {
            return coat_length;
        }

        public void setCoat_length(String coat_length) {
            this.coat_length = coat_length;
        }

        public String getGender_code() {
            return gender_code;
        }

        public void setGender_code(String gender_code) {
            this.gender_code = gender_code;
        }

        public String getSt_age() {
            return st_age;
        }

        public void setSt_age(String st_age) {
            this.st_age = st_age;
        }

        public String getSt_phone_status() {
            return st_phone_status;
        }

        public void setSt_phone_status(String st_phone_status) {
            this.st_phone_status = st_phone_status;
        }

        public String getSt_pose() {
            return st_pose;
        }

        public void setSt_pose(String st_pose) {
            this.st_pose = st_pose;
        }

        public String getSt_reflective_clothes() {
            return st_reflective_clothes;
        }

        public void setSt_reflective_clothes(String st_reflective_clothes) {
            this.st_reflective_clothes = st_reflective_clothes;
        }

        public String getSt_respirator_v2() {
            return st_respirator_v2;
        }

        public void setSt_respirator_v2(String st_respirator_v2) {
            this.st_respirator_v2 = st_respirator_v2;
        }

        public String getSt_smoking() {
            return st_smoking;
        }

        public void setSt_smoking(String st_smoking) {
            this.st_smoking = st_smoking;
        }

        public String getSt_uniform() {
            return st_uniform;
        }

        public void setSt_uniform(String st_uniform) {
            this.st_uniform = st_uniform;
        }
    }

    public static class EventsAttr {
        private int crowd_num;
        private int crowd_threshold;
        private String helmet_type;
        private int leave_num_threshold;
        private int leave_time_threshold;
        private int over_boundary_direction;
        private int over_boundary_num1;
        private int over_boundary_num2;
        private boolean with_oiltanker;
        private String work_cap_color;
        private String work_cloth_color;
        private String work_cloth_type;

        public int getCrowd_num() {
            return crowd_num;
        }

        public void setCrowd_num(int crowd_num) {
            this.crowd_num = crowd_num;
        }

        public int getCrowd_threshold() {
            return crowd_threshold;
        }

        public void setCrowd_threshold(int crowd_threshold) {
            this.crowd_threshold = crowd_threshold;
        }

        public String getHelmet_type() {
            return helmet_type;
        }

        public void setHelmet_type(String helmet_type) {
            this.helmet_type = helmet_type;
        }

        public int getLeave_num_threshold() {
            return leave_num_threshold;
        }

        public void setLeave_num_threshold(int leave_num_threshold) {
            this.leave_num_threshold = leave_num_threshold;
        }

        public int getLeave_time_threshold() {
            return leave_time_threshold;
        }

        public void setLeave_time_threshold(int leave_time_threshold) {
            this.leave_time_threshold = leave_time_threshold;
        }

        public int getOver_boundary_direction() {
            return over_boundary_direction;
        }

        public void setOver_boundary_direction(int over_boundary_direction) {
            this.over_boundary_direction = over_boundary_direction;
        }

        public int getOver_boundary_num1() {
            return over_boundary_num1;
        }

        public void setOver_boundary_num1(int over_boundary_num1) {
            this.over_boundary_num1 = over_boundary_num1;
        }

        public int getOver_boundary_num2() {
            return over_boundary_num2;
        }

        public void setOver_boundary_num2(int over_boundary_num2) {
            this.over_boundary_num2 = over_boundary_num2;
        }

        public boolean isWith_oiltanker() {
            return with_oiltanker;
        }

        public void setWith_oiltanker(boolean with_oiltanker) {
            this.with_oiltanker = with_oiltanker;
        }

        public String getWork_cap_color() {
            return work_cap_color;
        }

        public void setWork_cap_color(String work_cap_color) {
            this.work_cap_color = work_cap_color;
        }

        public String getWork_cloth_color() {
            return work_cloth_color;
        }

        public void setWork_cloth_color(String work_cloth_color) {
            this.work_cloth_color = work_cloth_color;
        }

        public String getWork_cloth_type() {
            return work_cloth_type;
        }

        public void setWork_cloth_type(String work_cloth_type) {
            this.work_cloth_type = work_cloth_type;
        }
    }

}
